<ion-view class="login-view" hide-nav-bar="true">
    <ion-content scroll="false">
        <div class="login-wrapper">
            <img src="img/signin.png">
            <div class="login-tabs">
                <label ng-class="{'active':data.activeIndex===1}" ng-click="clickTab(1)">账号密码登录</label>
                <label ng-class="{'active':data.activeIndex===2}" ng-click="clickTab(2)">快速登录</label>
            </div>
            <div class="list input-list">
                <label class="item item-input">
                    <img src="img/icon_user.png">
                    <input type="text" placeholder="用户名" ng-model="data.usercode">
                </label>
                <label class="item item-input">
                    <img src="img/icon_pw.png">
                    <input type="password" placeholder="密码" ng-model="data.password">
                </label>
            </div>
            <div class="login-option clearfix">
                <label class="checkbox-input">
                    <input type="checkbox" class="im-checkbox" ng-model="data.autologin">
                    <span>自动登录</span>
                </label>
                <button class="button" ng-click="signin()">登录</button>
            </div>
        </div>
    </ion-content>
</ion-view>